#pragma once
#include "TaylorSeries.h"

class Approximant
{
public:
	Approximant(shared_ptr<TaylorSeries> pSeries);
	virtual ~Approximant(void);

	virtual void build(unsigned int n) = 0;
	virtual double evaluate(double x) = 0;
protected:
	shared_ptr<TaylorSeries> _pSeries;
};

